home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Network PC
/
Network PC.iso
/
windows 95 utilities
/
programming tools
/
the master add-in
/
clogfileconst.bas
< prev
next >
Wrap
BASIC Source File
|
1996-12-23
|
2KB
|
55 lines
Attribute VB_Name = "basLogFileConst"
' ======================================================================
' Copyright (C) 1996, Patrick J. Cuff Jr.
'
' This library is free software; you can redistribute it and/or
' modify it under the terms of the GNU Library General Public
' License as published by the Free Software Foundation; either
' version 2 of the License, or any later version.
'
' This library is distributed in the hope that it will be useful,
' but WITHOUT ANY WARRANTY; without even the implied warranty of
' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
' Library General Public License for more details.
'
' You should have received a copy of the GNU Library General Public
' License along with this library; if not, write to the
' Free Software Foundation, Inc., 59 Temple Place - Suite 330, Cambridge,
' MA 02139, USA.
' ======================================================================
' CLogFileConst.BAS -- Log File Constants
' ----------------------------------------------------------------------
' This file contains constants needed by the CLogFile class properties
' and methods.
' ======================================================================
' Revision History:
' Date Programmer Description
' ---------- ------------------------ --------------------------------
' 12-02-1996 Patrick J. Cuff Jr. Original program logic
' ======================================================================
Option Explicit
' ----------------------------------------------------------------------
' Global Constants
' ----------------------------------------------------------------------
' Severity Constants
Public Const clfINFORMATIONAL = 0
Public Const clfDEBUG = 1
Public Const clfWARNING = 2
Public Const clfERROR = 3
Public Const clfCRITICAL = 4
' Log File Status Constants
Public Const clfCLOSED = 0
Public Const clfOPEN = 1
' Log File Error Constants
Public Const clfERR_SEVERITY_INVALID = 513
Public Const clfERR_LOGFILE_NAME_REQUIRED = 514
Public Const clfERR_LOGFILE_OPEN = 515
Public Const clfERR_LOGFILE_CLOSED = 516
Public Const clfERR_GENERAL_FAILURE = 65535
' Log File Source Name
Public Const clfSVR_SOURCENAME = "CLogFile - VB Log File Server"